<template>
  <div class="box">
    <span>总价:￥</span>
    <button>去结算</button>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
    .box{
        box-sizing: border-box;
        position: fixed;
        display: flex;
        padding: 10px;
        justify-content:space-between;
        bottom: 0;
        left: 0;
        height: 50px;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.522);
    }
    .box span{
        color: white;
    }
    .box button{
        width: 80px;
        border-radius: 5px;
        background-color: rgb(57, 230, 57);
        color: white;
        border: 0;
    }
</style>